package com.artpri.service.impl;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.artpri.model.GoodsAlbum;
import com.artpri.service.GoodsAlbumService;

/**
 * @author ZhangSi
 */
public class GoodsAlbumServiceImpl extends BaseService implements
		GoodsAlbumService {

	@Override
	@Transactional(readOnly=true)
	public List<GoodsAlbum> getGoodsAlbumByGoods(int goodNum) {
		return getGoodsAlbumDao().getGoodsAlbumByGoods(goodNum);
	}

	@Override
	@Transactional(readOnly=true)
	public List<String> getAlbumUrlsByGoods(Integer id) {
		return getGoodsAlbumDao().getAlbumUrlsByGoods(id);
	}

}
